From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Thu, 4 Feb 2021 22:56:38 +0000 (-0700) Subject: replace obsolete and overloaded QProcess signal error(QProcess::ProcessError error... X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~2^2~119 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=422baa262be2e6339e0a3cc2f680d5688e550c09;p=gpsbabel.git replace obsolete and overloaded QProcess signal error(QProcess::ProcessError error) (#679) with the recommended replacement, QProcess signal errorOccurred(QProcess::ProcessError error). It seems this should have caused an issue in Qt6, but we hadn't noticed it yet. --- diff --git a/gui/processwait.cc b/gui/processwait.cc index 33a4ef849..a612b5c23 100644 --- a/gui/processwait.cc +++ b/gui/processwait.cc @@ -82,7 +82,7 @@ ProcessWaitDialog::ProcessWaitDialog(QWidget* parent, QProcess* process): btn->setText(tr("Stop Process")); layout->addWidget(buttonBox_); - connect(process, SIGNAL(error(QProcess::ProcessError)), + connect(process, SIGNAL(errorOccurred(QProcess::ProcessError)), this, SLOT(errorX(QProcess::ProcessError))); connect(process, SIGNAL(finished(int,QProcess::ExitStatus)), this, SLOT(finishedX(int,QProcess::ExitStatus)));